<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: Directory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_directory-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Directory Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8h_source.html">DESIGNPATTERN_Directory.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Directory:</div>
<div class="dyncontent">
<div class="center"><img src="class_directory__inherit__graph.png" border="0" usemap="#_directory_inherit__map" alt="Inheritance graph"/></div>
<map name="_directory_inherit__map" id="_directory_inherit__map">
<area shape="rect" title=" " alt="" coords="45,351,148,560"/>
<area shape="rect" href="class_entry.html" title=" " alt="" coords="5,5,188,303"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for Directory:</div>
<div class="dyncontent">
<div class="center"><img src="class_directory__coll__graph.png" border="0" usemap="#_directory_coll__map" alt="Collaboration graph"/></div>
<map name="_directory_coll__map" id="_directory_coll__map">
<area shape="rect" title=" " alt="" coords="45,351,148,560"/>
<area shape="rect" href="class_entry.html" title=" " alt="" coords="5,5,188,303"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae41c9b6e859402114d9c21c4aa79785d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#ae41c9b6e859402114d9c21c4aa79785d">Directory</a> (const string &amp;strName, int iSize)</td></tr>
<tr class="separator:ae41c9b6e859402114d9c21c4aa79785d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affbde8714685c61601421097d621341d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#affbde8714685c61601421097d621341d">~Directory</a> ()</td></tr>
<tr class="separator:affbde8714685c61601421097d621341d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa204b314dcd600af1cfd704bdaf08efb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#aa204b314dcd600af1cfd704bdaf08efb">PrintList</a> ()</td></tr>
<tr class="separator:aa204b314dcd600af1cfd704bdaf08efb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa83745f69713f3e57da36b37324aa361"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#aa83745f69713f3e57da36b37324aa361">GetSize</a> ()</td></tr>
<tr class="separator:aa83745f69713f3e57da36b37324aa361"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a770eb2c0880e35f1d1a5e6cd15a4a5e9"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#a770eb2c0880e35f1d1a5e6cd15a4a5e9">Add</a> (<a class="el" href="class_entry.html">Entry</a> *pEntry)</td></tr>
<tr class="separator:a770eb2c0880e35f1d1a5e6cd15a4a5e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a4a87769304b311ca28afeeced07705"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#a6a4a87769304b311ca28afeeced07705">Remove</a> (<a class="el" href="class_entry.html">Entry</a> *pEntry)</td></tr>
<tr class="separator:a6a4a87769304b311ca28afeeced07705"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8de7e14fb73bc621cca52693049657f7"><td class="memItemLeft" align="right" valign="top">virtual list&lt; <a class="el" href="class_entry.html">Entry</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#a8de7e14fb73bc621cca52693049657f7">GetChild</a> ()</td></tr>
<tr class="separator:a8de7e14fb73bc621cca52693049657f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_entry"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_entry')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_entry.html">Entry</a></td></tr>
<tr class="memitem:ace080276d727881acfee7197b85f0b65 inherit pub_methods_class_entry"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#ace080276d727881acfee7197b85f0b65">~Entry</a> ()</td></tr>
<tr class="separator:ace080276d727881acfee7197b85f0b65 inherit pub_methods_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada9d6d6a9d0dcb2f8d990dfda111d3ba inherit pub_methods_class_entry"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#ada9d6d6a9d0dcb2f8d990dfda111d3ba">GetEntry</a> ()</td></tr>
<tr class="separator:ada9d6d6a9d0dcb2f8d990dfda111d3ba inherit pub_methods_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9348775cf8b55054abf38518205b53a6 inherit pub_methods_class_entry"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#a9348775cf8b55054abf38518205b53a6">GetName</a> ()</td></tr>
<tr class="separator:a9348775cf8b55054abf38518205b53a6 inherit pub_methods_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ae69ee52f5cacf4480b13364efa9c4682"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#ae69ee52f5cacf4480b13364efa9c4682">Directory</a> ()</td></tr>
<tr class="separator:ae69ee52f5cacf4480b13364efa9c4682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eccd9f4610610abb41a50582d905078"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#a8eccd9f4610610abb41a50582d905078">Directory</a> (const <a class="el" href="class_directory.html">Directory</a> &amp;cDirectory)</td></tr>
<tr class="separator:a8eccd9f4610610abb41a50582d905078"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af619229069efa5afd2f2984d9aa12324"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_directory.html">Directory</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#af619229069efa5afd2f2984d9aa12324">operator=</a> (const <a class="el" href="class_directory.html">Directory</a> &amp;cDirectory)</td></tr>
<tr class="separator:af619229069efa5afd2f2984d9aa12324"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a0773cc315db8a754b2f88cdcf8dc680b"><td class="memItemLeft" align="right" valign="top">list&lt; <a class="el" href="class_entry.html">Entry</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_directory.html#a0773cc315db8a754b2f88cdcf8dc680b">m_listEntry</a></td></tr>
<tr class="separator:a0773cc315db8a754b2f88cdcf8dc680b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_entry"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_entry')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_entry.html">Entry</a></td></tr>
<tr class="memitem:a0171c4530d0feb66d0cc9aae544e1304 inherit pub_types_class_entry"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a> { <br />
&#160;&#160;<a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ad2054339b5d91b439c5b09de2f21877d">ENTRY_NONE</a> = 0, 
<a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ae21be6d1fa056f0d03e3eb96c45349c1">ENTRY_FILE</a>, 
<a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304af9c744025326d9b432f707ae150474dd">ENTRY_DIRECTORY</a>, 
<a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ad8dec6dbd560ad112a4c3a78589313ba">ENTRY_ALL</a>, 
<br />
&#160;&#160;<a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ae65ddd37e397525c8cc34b2219e7d2fd">ENTRY_INVALID</a>
<br />
 }</td></tr>
<tr class="separator:a0171c4530d0feb66d0cc9aae544e1304 inherit pub_types_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_attribs_class_entry"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_entry')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_entry.html">Entry</a></td></tr>
<tr class="memitem:a8d4efc893ac9688fec7450f073eb7e61 inherit pub_static_attribs_class_entry"><td class="memItemLeft" align="right" valign="top">static const string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#a8d4efc893ac9688fec7450f073eb7e61">STATIC_CONST_STRING_ENTRY</a> [<a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ad8dec6dbd560ad112a4c3a78589313ba">ENTRY_ALL</a>]</td></tr>
<tr class="separator:a8d4efc893ac9688fec7450f073eb7e61 inherit pub_static_attribs_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_entry"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_entry')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_entry.html">Entry</a></td></tr>
<tr class="memitem:a6b4cc38e59b5e9997cdfc4d90a6fb8ca inherit pro_methods_class_entry"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#a6b4cc38e59b5e9997cdfc4d90a6fb8ca">Entry</a> (<a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a> eEntry, const string &amp;strName, int iSize)</td></tr>
<tr class="separator:a6b4cc38e59b5e9997cdfc4d90a6fb8ca inherit pro_methods_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68c92dc79952dc70fd9fdb9fc746801b inherit pro_methods_class_entry"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#a68c92dc79952dc70fd9fdb9fc746801b">SetEntry</a> (<a class="el" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a> eEntry)</td></tr>
<tr class="separator:a68c92dc79952dc70fd9fdb9fc746801b inherit pro_methods_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6d1dec897b02b122cd5deb2206eb7c9 inherit pro_methods_class_entry"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#ac6d1dec897b02b122cd5deb2206eb7c9">SetName</a> (const string &amp;strName)</td></tr>
<tr class="separator:ac6d1dec897b02b122cd5deb2206eb7c9 inherit pro_methods_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefc788074036aad05ec51f5d06c8300e inherit pro_methods_class_entry"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entry.html#aefc788074036aad05ec51f5d06c8300e">SetSize</a> (int iSize)</td></tr>
<tr class="separator:aefc788074036aad05ec51f5d06c8300e inherit pro_methods_class_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8h_source.html#l00021">21</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8h_source.html">DESIGNPATTERN_Directory.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae41c9b6e859402114d9c21c4aa79785d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae41c9b6e859402114d9c21c4aa79785d">&#9670;&nbsp;</a></span>Directory() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Directory::Directory </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>strName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>iSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>string&amp; strName </td></tr>
    <tr><td class="paramname">int</td><td>iSize </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html#l00023">23</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html">DESIGNPATTERN_Directory.cpp</a>.</p>

</div>
</div>
<a id="affbde8714685c61601421097d621341d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affbde8714685c61601421097d621341d">&#9670;&nbsp;</a></span>~Directory()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Directory::~Directory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destruction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html#l00035">35</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html">DESIGNPATTERN_Directory.cpp</a>.</p>

</div>
</div>
<a id="ae69ee52f5cacf4480b13364efa9c4682"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae69ee52f5cacf4480b13364efa9c4682">&#9670;&nbsp;</a></span>Directory() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Directory::Directory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a id="a8eccd9f4610610abb41a50582d905078"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8eccd9f4610610abb41a50582d905078">&#9670;&nbsp;</a></span>Directory() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Directory::Directory </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_directory.html">Directory</a> &amp;&#160;</td>
          <td class="paramname"><em>cDirectory</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Copy Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_directory.html">Directory</a>&amp; cDirectory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a770eb2c0880e35f1d1a5e6cd15a4a5e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a770eb2c0880e35f1d1a5e6cd15a4a5e9">&#9670;&nbsp;</a></span>Add()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Directory::Add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_entry.html">Entry</a> *&#160;</td>
          <td class="paramname"><em>pEntry</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Add</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Entry*</td><td>pEntry </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html#l00091">91</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html">DESIGNPATTERN_Directory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_directory_a770eb2c0880e35f1d1a5e6cd15a4a5e9_icgraph.png" border="0" usemap="#class_directory_a770eb2c0880e35f1d1a5e6cd15a4a5e9_icgraph" alt=""/></div>
<map name="class_directory_a770eb2c0880e35f1d1a5e6cd15a4a5e9_icgraph" id="class_directory_a770eb2c0880e35f1d1a5e6cd15a4a5e9_icgraph">
<area shape="rect" title=" " alt="" coords="115,5,220,32"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,5,67,32"/>
</map>
</div>

</div>
</div>
<a id="a8de7e14fb73bc621cca52693049657f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8de7e14fb73bc621cca52693049657f7">&#9670;&nbsp;</a></span>GetChild()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">list&lt; <a class="el" href="class_entry.html">Entry</a> * &gt; Directory::GetChild </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>GetChild</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>list&lt;Entry*&gt; </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html#l00119">119</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html">DESIGNPATTERN_Directory.cpp</a>.</p>

</div>
</div>
<a id="aa83745f69713f3e57da36b37324aa361"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa83745f69713f3e57da36b37324aa361">&#9670;&nbsp;</a></span>GetSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Directory::GetSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>GetSize</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

<p>Reimplemented from <a class="el" href="class_entry.html#a9ff0e1f0770d5a3496891e549284e0c0">Entry</a>.</p>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html#l00072">72</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html">DESIGNPATTERN_Directory.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_directory_aa83745f69713f3e57da36b37324aa361_cgraph.png" border="0" usemap="#class_directory_aa83745f69713f3e57da36b37324aa361_cgraph" alt=""/></div>
<map name="class_directory_aa83745f69713f3e57da36b37324aa361_cgraph" id="class_directory_aa83745f69713f3e57da36b37324aa361_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,135,32"/>
<area shape="rect" href="class_entry.html#a9ff0e1f0770d5a3496891e549284e0c0" title=" " alt="" coords="183,5,291,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_directory_aa83745f69713f3e57da36b37324aa361_icgraph.png" border="0" usemap="#class_directory_aa83745f69713f3e57da36b37324aa361_icgraph" alt=""/></div>
<map name="class_directory_aa83745f69713f3e57da36b37324aa361_icgraph" id="class_directory_aa83745f69713f3e57da36b37324aa361_icgraph">
<area shape="rect" title=" " alt="" coords="184,5,313,32"/>
<area shape="rect" href="class_directory.html#aa204b314dcd600af1cfd704bdaf08efb" title=" " alt="" coords="5,5,136,32"/>
</map>
</div>

</div>
</div>
<a id="af619229069efa5afd2f2984d9aa12324"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af619229069efa5afd2f2984d9aa12324">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_directory.html">Directory</a>&amp; Directory::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_directory.html">Directory</a> &amp;&#160;</td>
          <td class="paramname"><em>cDirectory</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assignment</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_directory.html">Directory</a>&amp; cDirectory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_directory.html">Directory</a>&amp; </dd></dl>

</div>
</div>
<a id="aa204b314dcd600af1cfd704bdaf08efb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa204b314dcd600af1cfd704bdaf08efb">&#9670;&nbsp;</a></span>PrintList()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> Directory::PrintList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>PrintList</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>VOID </dd></dl>

<p>Reimplemented from <a class="el" href="class_entry.html#a0b7ce573c95c6960bec2b37ff6350279">Entry</a>.</p>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html#l00054">54</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html">DESIGNPATTERN_Directory.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_directory_aa204b314dcd600af1cfd704bdaf08efb_cgraph.png" border="0" usemap="#class_directory_aa204b314dcd600af1cfd704bdaf08efb_cgraph" alt=""/></div>
<map name="class_directory_aa204b314dcd600af1cfd704bdaf08efb_cgraph" id="class_directory_aa204b314dcd600af1cfd704bdaf08efb_cgraph">
<area shape="rect" title=" " alt="" coords="5,56,136,83"/>
<area shape="rect" href="class_entry.html#a9348775cf8b55054abf38518205b53a6" title=" " alt="" coords="191,5,307,32"/>
<area shape="rect" href="class_directory.html#aa83745f69713f3e57da36b37324aa361" title=" " alt="" coords="184,56,313,83"/>
<area shape="rect" href="class_entry.html#a0b7ce573c95c6960bec2b37ff6350279" title=" " alt="" coords="194,107,303,133"/>
<area shape="rect" href="class_entry.html#a9ff0e1f0770d5a3496891e549284e0c0" title=" " alt="" coords="361,56,469,83"/>
</map>
</div>

</div>
</div>
<a id="a6a4a87769304b311ca28afeeced07705"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a4a87769304b311ca28afeeced07705">&#9670;&nbsp;</a></span>Remove()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Directory::Remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_entry.html">Entry</a> *&#160;</td>
          <td class="paramname"><em>pEntry</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Remove</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Entry*</td><td>pEntry </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html#l00105">105</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html">DESIGNPATTERN_Directory.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a0773cc315db8a754b2f88cdcf8dc680b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0773cc315db8a754b2f88cdcf8dc680b">&#9670;&nbsp;</a></span>m_listEntry</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">list&lt;<a class="el" href="class_entry.html">Entry</a>*&gt; Directory::m_listEntry</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8h_source.html#l00110">110</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8h_source.html">DESIGNPATTERN_Directory.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/96_project/DesignPattern/10_Composite/groupinc/<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8h_source.html">DESIGNPATTERN_Directory.h</a></li>
<li>C:/96_project/DesignPattern/10_Composite/<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___directory_8cpp_source.html">DESIGNPATTERN_Directory.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
